<template>
  <div class="login-view">
    <div class="login-container">
      <div class="login">
        <p>登录</p>
        <i class="one-icon"></i>
      </div>
    </div>
    <div class="text">
      <p class="weight">还没有账号？点击注册</p>
      <p><span>我已阅读并同意</span>《用户服务协议》<span>和</span>《隐私协议》</p>
      <p class="other">其他登录方式</p>
      <div class="icon-other">
        <i></i>
        <i></i>
        <i></i>
      </div>
    </div>
  </div>
</template>

<script>
export default {
  name: "LoginView",

  data() {
    return {};
  },

  mounted() {},

  methods: {},
};
</script>

<style lang="scss" scoped>
.login-view {
  width: 100vw;
  height: 100vh;
  background-image: url(@/assets/img/login/login_bg.png);
  background-repeat: no-repeat;
  background-size: cover;

  .login-container {
    position: relative;
    top: calc(60% - 100px);
    margin: auto;
    width: 150px;
    height: 150px;
    border-radius: 999px;
    text-align: center;
    letter-spacing: 2px;
    background-color: rgba(0, 0, 0, 0.7);

    .login {
      position: absolute;
      top: 50%;
      left: 50%;
      transform: translate(-50%, -50%);
      font-size: 18px;
      font-weight: 200;
      color: white;

      .one-icon {
        display: block;
        width: 100px;
        height: 40px;
        margin-top: 20px;
        background-image: url(@/assets/img/login/ali_login_one_logo.png);
        background-repeat: no-repeat;
        background-size: cover;
        // background-position:
      }
    }
  }
  .text {
    position: relative;
    top: calc(60% - 100px);
    margin-top: 20px;
    text-align: center;
    font-weight: 200;
    .weight {
      font-size: 18px;
      font-weight: 600;
    }
    p {
      font-size: 12px;
      margin-bottom: 20px;
      span {
        color: rgb(221, 215, 215);
      }
    }
    .other {
      margin-top: 60px;
      font-size: 14px;
      color: #ccc;
    }
    .icon-other {
        display: flex;
        justify-content: space-between;
        padding: 0 20px;
        margin-top: 30px;
      i {
        display: inline-block;
        width: 36px;
        height: 36px;
        &:nth-child(1) {
          background-image: url(@/assets/img/login/bubble_wechat.png);
          background-repeat: no-repeat;
          background-size: cover;
        }
        &:nth-child(2) {
          background-image: url(@/assets/img/login/bubble_weibo.png);
          background-repeat: no-repeat;
          background-size: cover;
        }
        &:nth-child(3) {
          background-image: url(@/assets/img/login/bubble_qq.png);
          background-repeat: no-repeat;
          background-size: cover;
        }
      }
    }
  }
}
</style>